import request from '@/utils/request'



export function submit(data) {
  return request({
    url: 'buss/subcontractregistration/submit',
    method: 'post',
    data
  })
}

export function resubmit(data) {
  return request({
    url: 'buss/subcontractregistration/resubmit',
    method: 'post',
    data
  })
}


export function del(ids) {
  return request({
    url: 'buss/subcontractregistration/delete',
    method: 'post',
    data: ids
  })
}

export function getOne(id) {
  return request.get('buss/subcontractregistration/getOne?id='+id)
}


export function getTablePage(data) {
  return request.post('buss/subcontractregistration/paging', data)
}




export default {
  submit,
  resubmit,
  getOne,
  del,
  getTablePage

}
